import sympy as sym
x=sym.Symbol('x')
y=sym.Symbol('y')
f, g = sym.symbols('f g', cls=sym.Function)
#print(f(x,y))
#print(f(x,y).diff(x, 1,y,0) + (f(x,y).diff(x, 0,y,1))*f(x,y))
g=f(x,y)*f(x,y).diff(x,1,y,0)

print(g.diff(x,1,y,0))
print(g.diff(x,0,y,1))




